* lisp/emacs-lisp/eieio.el (defmethod): Fix quoting of code.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 May 2011 19:49:28 +0000 (16:49 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 May 2011 19:49:28 +0000 (16:49 -0300)
lisp/ChangeLog
lisp/emacs-lisp/eieio.el

index 84ac5a9be8ee405b47a6594e35df560b9ad4b8e5..0ccc82e3d5a0ec8ae53cca85b7b049398ebe80e0 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
+
 2011-05-16  Kevin Ryde  <user42@zip.com.au>
 
        * info-look.el (makefile-automake-mode): New setups, looking in
index 6abf9aa36571960e758072ff9f6836ff6fb4c440..8c5260106a8a7c95917dd0d58f786a6ac35e484a 100644 (file)
@@ -1308,7 +1308,7 @@ Summary:
        (defgeneric ,method ,args
          ,(or (documentation code)
               (format "Generically created method `%s'." method)))
-       (eieio--defmethod ',method ',key ',class ',code))))
+       (eieio--defmethod ',method ',key ',class #',code))))
 
 (defun eieio--defmethod (method kind argclass code)
   "Work part of the `defmethod' macro defining METHOD with ARGS."